package com.qf.springcloud.fallback;

import com.qf.springcloud.client.ProducerClient;
import org.springframework.stereotype.Component;

import java.util.Map;

// 针对Producer服务的降级回调
@Component
public class ProducerFallBack implements ProducerClient {
    @Override
    public String test() {
        return null;
    }

    @Override
    public String test1(String id) {
        return "-1";
    }

    @Override
    public String test2(String name, Integer age) {
        return null;
    }

    @Override
    public String test3(Map user) {
        return null;
    }
}
